package Day31;

public class HomeWork3 {
    public static void main(String[] args) {
        System.out.println(Text.AUTUMN);
    }
}
enum Text{
    SPRING("春天","温暖"),SUMMER("夏天","凉爽"),
    AUTUMN("秋天","炎热"),WINTER("冬天","寒冷");
    private String name;
    private String desc;
    private Text(){

    }
    private Text(String name, String desc){
        this.name = name;
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public String getDesc() {
        return desc;
    }
/*
    @Override
    public String toString() {
        return "Text{" +
                "name='" + name + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }*/
}